package day3;

/**
 * @author oldliu
 * @since 1.0
 */
public class CatTest {
    public static void main(String[] args) {
        Cat c=new Cat();//c是Cat的一个实例
        c.name="阿花";
        c.type="波斯猫";
        c.age=3;
        c.color="花白";
        //System.out.println(c);
        c.show();
        c.cry();
        c.cry();
        c.cry();
        //c.type; //error
        System.out.println(c.type);
    }
}
